core: Use at-relative lookups for metadata reading
authorColin Walters <walters@verbum.org>
Sat, 7 Sep 2013 09:01:41 +0000 (05:01 -0400)
committerColin Walters <walters@verbum.org>
Sat, 7 Sep 2013 09:03:48 +0000 (05:03 -0400)
commitd2c6e192788fb408315196c2b03e9e2774c19989
tree323f2f3e886be49a50793c4df0371639d643fbb0
parentb97249d4f90e7d1e10a41b73d73dbd703148084e
core: Use at-relative lookups for metadata reading

Just use openat() for locating variants, rather than doing the lstat()
+ open().  This also drops several malloc+object allocations from the
lookup path.
src/libostree/ostree-repo.c